/**
 * 2010(c) Copyright Oceansoft Information System Co.,LTD. All rights reserved.
 * <p>
 * Compile: JDK 1.6+
 * <p>
 * 版权所有(C)：江苏欧索软件有限公司
 * <p>
 * 公司名称：江苏欧索软件有限公司
 * <p>
 * 公司地址：中国苏州科技城青山路1号
 * <p>
 * 网址: http://www.oceansoft.com.cn
 * <p>
 * 版本: 苏州公安统一用户管理平台1.0
 * <p>
 * 作者: 孙炯
 * <p>
 * 文件名:SysPartTime.java
 * <p>
 * 类产生时间: 2012-6-12 下午2:36:17
 * <p>
 * 负责人: 孙炯
 * 所在组 : 苏州公安统一用户管理平台
 * <p>
 * 所在部门: 电信/国土——技术二部
 * <p>
 * <p>
 */
package com.oceansoft.core.domain;

import java.util.Date;

/**
 * 兼职信息
 * @author sunj
 *
 */
public class SysPartTime {

	private Long dbId;
	//用户编号
	private String userId;
	//兼职角色
	private String roleId;
	//主职所在部门编号
	private String marjorDept;
	//兼职部门编号
	private String partTimeDept;
	//兼职时间
	private Date createTime;
	
	private String dutyid;
	private String dutyname;
	private String deptname;
	
	
	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public String getDutyid() {
		return dutyid;
	}

	public void setDutyid(String dutyid) {
		this.dutyid = dutyid;
	}

	public String getDutyname() {
		return dutyname;
	}

	public void setDutyname(String dutyname) {
		this.dutyname = dutyname;
	}

	public Long getDbId() {
		return dbId;
	}

	public void setDbId(Long dbId) {
		this.dbId = dbId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getMarjorDept() {
		return marjorDept;
	}

	public void setMarjorDept(String marjorDept) {
		this.marjorDept = marjorDept;
	}


	public String getPartTimeDept() {
		return partTimeDept;
	}

	public void setPartTimeDept(String partTimeDept) {
		this.partTimeDept = partTimeDept;
	}

	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public SysPartTime() {
		super();
	}

	public SysPartTime(Long dbId, String userId, String roleId, String marjorDept, String partTimeDept,
			Date createTime, String dutyid, String dutyname) {
		super();
		this.dbId = dbId;
		this.userId = userId;
		this.roleId = roleId;
		this.marjorDept = marjorDept;
		this.partTimeDept = partTimeDept;
		this.createTime = createTime;
		this.dutyid = dutyid;
		this.dutyname = dutyname;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append(createTime);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(dbId);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(deptname);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(dutyid);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(dutyname);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(marjorDept);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(partTimeDept);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(roleId);
		builder.append("&nbsp;&nbsp;&nbsp;");
		builder.append(userId);
		return builder.toString();
	}
	
}



 
 